package com.qf.service;

import com.github.pagehelper.PageInfo;
import com.qf.entity.NewsDetail;

/**
 * @author Lenovo
 * @version 1.0
 * @date 2021/10/2
 */
public interface NewsDetailService {
    PageInfo<NewsDetail> selectByPage(Integer pageNum,Integer pageSize);
    PageInfo<NewsDetail> selectByNewsTitle(Integer pageNum,Integer pageSize,String titleName);
    NewsDetail selectByNId(Integer nid);
    void removeNews(Integer nid);
}
